<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'print.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/admin.css">
<script type="text/javascript" src="js/print.js"></script>
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/admin.js"></script>
  </head>

<body style="width: 300px;">
<!--startprint3-->
	<c:forEach items="${list}" var="item">
	<p style="text-align: center;font-size: 30px;">报销发票</p>

	<hr style="print-char:=;"></hr>
	<p>
		<label style="margin-left: 20px;">报销编号：</label><label>${item.bx_record_code}</label>
	</p>
	<p>
		<label style="margin-left: 20px;">姓名：</label><label>${item.user_id}</label>
	</p>
	<p>
		<label style="margin-left: 20px;">身份证号：</label><label>${item.id_card}</label>
	</p>
	<hr style="print-char:=;"></hr>

	<p>
		<label style="margin-left: 20px; width: 200px">慢性病名称</label> <label
			style="margin-left: 20px; width: 90px">总费用</label> <label
			style="margin-left: 20px; width: 200px">报销金额</label>
	</p>

	<p>
		<label style="margin-left: 20px; width: 200px">${item.chronicdis_code}</label> <label
			style="margin-left: 20px; width: 90px">${item.all_cost}</label> <label
			style="margin-left: 20px; width: 200px">${item.bx_cost}</label>
	</p>

	<p style="text-align: right;">合计：￥${item.bx_cost}</p>

	<label style="margin-left: 20px; width: 200px">签名：</label>
	<hr style="print-char:-;"></hr>
	</c:forEach>
	<!--endprint3-->
	<input type=button class="button border-main icon-search" name='button_export' title='打印' 
			onclick=preview(3) value=打印>
	<a class="button border-main" href="<%=path%>/biz/BX_recordServlet?m=print" ><span
								class="icon-plus-square-o" style="align: right;"></span> 完成签字</a>
								
	<a class="button border-main" href="<%=path%>/biz/BX_recordServlet?m=list" ><span
								class="icon-plus-square-o" style="align: right;"></span>放弃报销</a>
	
</body>
</html>
